package io.renren.modules.package_storage.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.common.utils.R;
import io.renren.modules.package_storage.entity.V9PackageStorageEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 货运管理
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-09-21 09:38:52
 */
@Mapper
public interface V9PackageStorageDao extends BaseMapper<V9PackageStorageEntity> {
    @Select("select count(id) from v9_package_storage s inner join v9_member m on s.u_code=m.username where s.u_code='uCode' ")
    R parcelcount(String uCode);

}
